package Knapsack;

/**
 *
 * @author Keith & Jonas
 */
public class KnapsackElement {
    private int size;
    private int value;

    public KnapsackElement(int size,int value){
        this.size = size;
        this.value = value;
    }

    public int getSize(){
        return size;
    }

    public int getValue(){
        return value;
    }

    public void printElement(){
        System.out.println("Size: " + size + " Value: " + value);
    }
}
